import {getConfig, setConfig} from '@/mapper/config-store';


export async function getPlcInfo() {
    return await getConfig('plcConfig') || {}
}

export async function savePlcInfo(data) {
    await setConfig('plcConfig', data)
    return 'ok'
}